from django.db import models

# Create your models here.

class Page(models.Model):
    '''A page on the website.'''
    title   = models.CharField(max_length=100,
                help_text='The heading of the page.')
    slug    = models.SlugField(unique=True,
                help_text='The name used in the URL for this page.')
    content = models.TextField(
                help_text='The content of the page.')

    def __str__(self):
        return '%s' % (self.title)

    class Admin:
        pass

